package com.lanou.moving.entity;

import java.util.List;

/**
 * Created by dllo on 15/10/23.
 */
public class SearchRoot {

    /**
     * pageCount : 1
     * totalCount : 15
     * data : [{"val":"鹿晗","hit":0,"score":0,"hot":0,"url":""},{"val":"夏洛特烦恼","hit":0,"score":0,"hot":0,"url":""},{"val":"小王子","hit":0,"score":0,"hot":0,"url":""},{"val":"宁桓宇","hit":0,"score":0,"hot":0,"url":""},{"val":"南山南","hit":31,"score":19091,"hot":24465,"url":""},{"val":"水木年华","hit":298,"score":8441,"hot":9453,"url":""},{"val":"陈奕迅","hit":2928,"score":7204,"hot":8633,"url":""},{"val":"薛之谦","hit":279,"score":6852,"hot":9532,"url":""},{"val":"张学友","hit":3468,"score":5852,"hot":6879,"url":""},{"val":"许巍","hit":601,"score":5775,"hot":6458,"url":""},{"val":"刘德华","hit":3057,"score":5397,"hot":6518,"url":""},{"val":"张杰","hit":1406,"score":5045,"hot":6344,"url":""},{"val":"邓紫棋","hit":606,"score":4999,"hot":6017,"url":""},{"val":"汪峰","hit":682,"score":4855,"hot":5729,"url":""},{"val":"林俊杰","hit":2718,"score":4685,"hot":5766,"url":""}]
     */
    private int pageCount;
    private int totalCount;
    private List<DataEntity> data;

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getPageCount() {
        return pageCount;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public class DataEntity {
        /**
         * val : 鹿晗
         * hit : 0
         * score : 0.0
         * hot : 0
         * url :
         */
        private String val;
        private int hit;
        private double score;
        private int hot;
        private String url;

        public void setVal(String val) {
            this.val = val;
        }

        public void setHit(int hit) {
            this.hit = hit;
        }

        public void setScore(double score) {
            this.score = score;
        }

        public void setHot(int hot) {
            this.hot = hot;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getVal() {
            return val;
        }

        public int getHit() {
            return hit;
        }

        public double getScore() {
            return score;
        }

        public int getHot() {
            return hot;
        }

        public String getUrl() {
            return url;
        }



    }
}
